package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserLike;

import java.util.List;

public interface UserlikeApi {
    List<UserLike> findLoveIdsByUserId(Long userId) ;

    List<UserLike> findFanIdsByUserId(Long userId);

    List<UserLike> findEachLoveIdsByUserId(Long userId);

    List<UserLike> findEachLoveByPage(Long userId, Integer page, Integer pagesize);

    List<UserLike> findLoveByPage(Long userId, Integer page, Integer pagesize);

    List<UserLike> findFanByPage(Long userId, Integer page, Integer pagesize);

    void setIsLike(Long uid, Long userId);

    void fanLike(String uid, Long userId);

    Boolean findIsFriend(Long userId, Long friendId);

    Boolean isExist(Long userId, Long friendId);

    void save(Long userId, Long friendId);

    Boolean isExisit(Long userId, Long likeUserId);

    Boolean isLike(Long likeUserId, Long userId);

    void saveLike(Long userId, Long likeUserId);
}
